<!DOCTYPE html>
<!-- saved from url=(0036)http://www.layui.com/demo/table.html -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>mobom-API文档</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/layui/css/global.css" media="all">

    <style>
        .layui-table .layui-form-checkbox[lay-skin=primary] {
            margin: 0;
        }
    </style>
    <script type="text/javascript" async="" charset="utf-8" src="/static/layui/lay/modules/core.js"></script>
    <link id="layuicss-skinlayercss" rel="stylesheet" href="/static/layui/css/modules/layer/default/layer.css" media="all">
    <link id="layuicss-skincodecss" rel="stylesheet" href="/static/layui/css/code.css" media="all">
    <link rel="stylesheet" href="/static/layui/css/style.css">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header header header-demo">
        <div class="layui-main">
            <a class="logo" href="http://www.layui.com/">
                <img src="/static/layui/images/logo.png" alt="layui">
            </a>
            <ul class="layui-nav" pc="">
                <li class="layui-nav-item ">
                    <a href="{:url('index')}">查看</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">

            <ul class="layui-nav layui-nav-tree site-demo-nav">

                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">接口管理<span class="layui-nav-more"></span></a>
                    <dl class="layui-nav-child">
                        <dd data-action="api">
                            <a href="{:url('api_list')}">接口列表</a>
                        </dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">分类管理<span class="layui-nav-more"></span></a>
                    <dl class="layui-nav-child">
                        <dd data-action="category">
                            <a href="{:url('category')}">分类列表</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-tab layui-tab-brief" lay-filter="demoTitle">
        {block name="main"}{/block}
    </div>
    <div class="layui-footer footer footer-demo">
        <div class="layui-main">
            <p>2017 © <a href="http://www.layui.com/">mobom.net</a> 天涯影视传媒提供技术支持</p>
        </div>
    </div>
    <script async="" src="/static/layui/lay/modules/adsbygoogle.js"></script>
    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon"></i>
    </div>
    <div class="site-mobile-shade"></div>
    <script src="/static/layui/layui.js" charset="utf-8"></script>
    <script>
        layui.config({
            base: '/static/layui/lay/modules/'
            , version: '1488795362026'
        }).use('global');

        window.global = {
            preview: function () {
                var preview = document.getElementById('LAY_preview');
                return preview ? preview.innerHTML : '';
            }()
        };
    </script>
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cspan id='cnzz_stat_icon_30088308'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "w.cnzz.com/c.php%3Fid%3D30088308' type='text/javascript'%3E%3C/script%3E"));</script>
    <span id="cnzz_stat_icon_30088308"></span>
    <script src="/static/layui/lay/modules/c.js" type="text/javascript"></script>
</div>
<div id="LAY_democodejs">
    <script>
        layui.use('form', function () {
            var $ = layui.jquery, form = layui.form();

            //全选
            form.on('checkbox(allChoose)', function (data) {
                var child = $(data.elem).parents('table').find('tbody input[type="checkbox"]');
                child.each(function (index, item) {
                    item.checked = data.elem.checked;
                });
                form.render('checkbox');
            });

            var action = '{$action}';
            $("dd[data-action='"+ action +"']").addClass('layui-this').parents(".layui-nav-item").addClass("layui-nav-itemed");

        });
    </script>
    {block name="javascript"}{/block}
</div>

<ul class="layui-fixbar">
    <li class="layui-icon" lay-type="bar1" style=""></li>
    <li class="layui-icon layui-fixbar-top" lay-type="top" style=""></li>
</ul>
</body>
{js href="/static/layui/common.js"}
</html>